
export default {
  namespaced: true,
  state() {
    return {
      id: 0,
      payCourse: {},
      appointmentInfo: {}
    }
  },
  actions: {
    async getUserInfo({ commit }) {
      // commit('SET_FRUIT', consts['OTHER/FRUIT'])
      // api['user/info']().then(resData => {
      //   commit('SET_USER_INFO', resData)
      // })
    }
  },
  mutations: {
    setPayCourse(state, val){
      state.payCourse = val
    },
    setAppointmentInfo(state, val){
      state.appointmentInfo = val
    }
  }
}
